package com.flyoil.petromp.mvp_m.CourseListModel;

import com.flyoil.petromp.entity.entity_course_list.CourseCertainEntity;
import com.flyoil.petromp.base.BaseModel;
import com.flyoil.petromp.mvp_p.Listener.OnPresenterListener;
import com.flyoil.petromp.utils.OrderUtl.OrderListUtil;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by songzhiyin on 2017/10/31.
 * 物资质保期验收单列表数据处理类
 */

public class GoodsDateExamineListModel implements BaseModel {

    @Override
    public void loadNetworkData(Map<String, Object> map, OnPresenterListener listener) {
        List<CourseCertainEntity> courseCertainEntities = new ArrayList<>();
        courseCertainEntities.add(new CourseCertainEntity("物资质保期验收单", "PL542254", "2017-08-19",  OrderListUtil.GOODS_DATE_EXAMINE));
        listener.onsucced(courseCertainEntities);
    }
}
